﻿<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog B0225-dialog" ng-init="init();">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'B0225.title' | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-text-fields__title" ng-bind="'B0225.plot_info' | translate"></div>
            <div style="background:rgba(245, 248, 250, 1);">
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.plot_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.plot_no"></label>
                    <label class="label" ng-bind="'B0225.wo_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.wo_no"></label>
                </div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.product_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.product_no"></label>
                    <label class="label" ng-bind="'B0225.item_name' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.item_name"></label>
                </div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.op_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.op_no"></label>
                    <label class="label" ng-bind="'B0225.op_name' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.op_name"></label>
                </div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.status' | translate" ></label>
                    <label class="value" ng-bind="'B0225.status_'+dialog.plotItem.status | translate"></label>
                    <label class="label" ng-if="dialog.plotItem.machine_no && dialog.plotItem.machine_no!=''" ng-bind="'B0225.machine_no' | translate" ></label>
                    <label class="value" ng-if="dialog.plotItem.machine_no && dialog.plotItem.machine_no!=''" ng-bind="dialog.plotItem.machine_no"></label>
                </div>
            </div>
            <div class="kmi-text-fields__title" ng-bind="'B0225.rollback_info' | translate"></div>
            <div style="background:rgba(245, 248, 250, 1);">
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.rollback_op_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.rollback_op_no"></label>
                    <label class="label" ng-bind="'B0225.rollback_op_name' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.rollback_op_name"></label>
                </div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.rollback_machine_no' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.rollback_machine_no"></label>
                    <label class="label" ng-bind="'B0225.rollback_status' | translate" ></label>
                    <label class="value" ng-bind="'B0225.status_'+dialog.plotItem.rollback_status | translate"></label>
                </div>
                <div class="kmi-text-fields">
                    <label class="label" ng-bind="'B0225.rollback_qty' | translate" ></label>
                    <label class="value" ng-bind="dialog.plotItem.rollback_qty"></label>
                    <!-- 20220218 add by 04485 for#0107478 QMS單據還原整合功能: 畫面增加顯示QCFormNo -->
                    <label class="label" ng-bind="'B0225.QCFormNo' | translate"></label>
                    <label class="value" ng-bind="dialog.plotItem.QCFormNo"></label>
                </div>
            </div>
        </div>
        <div class="btn-content">
            <div class="kmi-button kmi-button-confrim btn-confirm" ng-click="dialog.confirm()" style="width:100px">
                <label ng-bind="'common.btn.confirm' | translate"></label>
                <div class="kmi-can-click"></div>
            </div>
        </div>
    </div>
</div>
